package cn.wh.beans.factory.support;

import cn.wh.beans.BeansException;
import cn.wh.core.io.Resource;
import cn.wh.core.io.ResourceLoader;

/**
 * @author: wh
 * @create: 2022-09-01 15:15
 * @description
 **/
public interface BeanDefinitionReader {

    BeanDefinitionRegistry getRegistry();

    ResourceLoader getResourceLoader();

    void loadBeanDefinitions(Resource resource) throws BeansException;

    void loadBeanDefinitions(Resource... resources) throws BeansException;

    void loadBeanDefinitions(String location) throws BeansException;

    void loadBeanDefinitions(String... locations) throws BeansException;




}
